pact_matching 2.0.3

Pact-Rust support library that implements request and response matching logic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "match": true,
  "comment": "Extra headers allowed",
  "expected" : {
    "method": "POST",
    "path": "/path",
    "query": {},
    "headers": {}
  },
  "actual": {
    "method": "POST",
    "path": "/path",
    "query": {},
    "headers": {
      "Accept": "alligators"
    }
  }
}